﻿using GraphQLSample.Domain.Core;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;

namespace GraphQLSample.Domain.Services
{
    public interface IUserEventService
    {
        ConcurrentStack<UserEvent> Events { get; }
        void AddError(Exception e);
        UserEvent AddEvent(UserEvent @event);

        IObservable<UserEvent> Stream();
    }
}
